package egs.games;

public class SquareState {
	public short row;
	public short col;
	public int piece;

	public SquareState(short row, short col, int piece)
	{
		this.row = row;
		this.col = col;
		this.piece = piece;
	}
	
	public short row()
	{
		return row;
	}
	
	public short col()
	{
		return col;
	}
	
	public int piece()
	{
		return piece;
	}
	
	public boolean equals(SquareState other)
	{
		return row == other.row() && col == other.col() && piece == other.piece();
	}
}